//
//  IGWorkDetailRecApi.m
//  jingdongfang
//
//  Created by boectoswteam on 2018/5/17.
//  Copyright © 2018年 BOE-SBG-CTO. All rights reserved.
//

#import "IGWorkDetailRecApi.h"

@implementation IGWorkDetailRecApi

-(YTKRequestMethod)requestMethod{
    return YTKRequestMethodPOST;
}

-(NSString *)requestUrl{
    return @"groom/singleRec";
}

-(id)requestArgument{
    return @{
        @"pid":_pid
    };
}

@end

@implementation IGWorkDetailSigleRecModel

+(JSONKeyMapper*)keyMapper{
    return [[JSONKeyMapper alloc]initWithModelToJSONDictionary:@{@"pid":@"id"}];
}

+(BOOL)propertyIsOptional:(NSString *)propertyName{
    return YES;
}
@end

@implementation IGWorkDetailRecModel
+(BOOL)propertyIsOptional:(NSString *)propertyName{
    return YES;
}
@end

@implementation IGWorkDetailRecResp

@end
